@RestController
@RequestMapping("/api/singers")
public class SingerController {
    @Autowired
    private SingerService singerService;

    @GetMapping("/list")
    public ResponseEntity<List<Singer>> getAllSingers() {
        List<Singer> singers = singerService.getAllSingers();
        return ResponseEntity.ok(singers);
    }
}
